package com.haierp.model.item;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

public class OuterItemSku implements Serializable{

	
//	`id` bigint(19) NOT NULL AUTO_INCREMENT COMMENT '主键',
//	  `item_id` bigint(19) NOT NULL COMMENT '商品ID',
//	  `sku_id` bigint(19) NOT NULL COMMENT 'sku ID',
//	  `outer_type` tinyint(2) NOT NULL COMMENT '外部平台类型',
//	  `outer_id` tinyint(2) NOT NULL COMMENT '外部id',
//	  `status` tinyint(2) DEFAULT '0' COMMENT '//0新档 1上架 2下架 -1删除',
	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;
	@TableField(value = "item_id")
	private Long itemId;
	@TableField(value = "sku_id")
	private Long skuId;
	@TableField(value = "outer_sku_id")
	private Long outerSkuId;
	@TableField(value = "platform_type")
	private Integer platformType;
	@TableField(value = "outer_item_id")
	private Long outerItemId;
	@TableField(value = "outer_id")
	private Long outerId;
	@TableField(value = "sku_code")
	private String skuCode;
	@TableField(value = "outer_sku_code")
	private String outerSkuCode;
	@TableField(value = "outer_alias")
	private String outerAlias;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getItemId() {
		return itemId;
	}
	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}
	public Long getSkuId() {
		return skuId;
	}
	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}
	public Long getOuterSkuId() {
		return outerSkuId;
	}
	public void setOuterSkuId(Long outerSkuId) {
		this.outerSkuId = outerSkuId;
	}
	
	public Integer getPlatformType() {
		return platformType;
	}
	public void setPlatformType(Integer platformType) {
		this.platformType = platformType;
	}
	public Long getOuterId() {
		return outerId;
	}
	public void setOuterId(Long outerId) {
		this.outerId = outerId;
	}
	public Long getOuterItemId() {
		return outerItemId;
	}
	public void setOuterItemId(Long outerItemId) {
		this.outerItemId = outerItemId;
	}
	public String getSkuCode() {
		return skuCode;
	}
	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode;
	}
	public String getOuterSkuCode() {
		return outerSkuCode;
	}
	public void setOuterSkuCode(String outerSkuCode) {
		this.outerSkuCode = outerSkuCode;
	}
	public String getOuterAlias() {
		return outerAlias;
	}
	public void setOuterAlias(String outerAlias) {
		this.outerAlias = outerAlias;
	}
}
